package com.zxjbyte.yiyi.module.system.service.dict;

import com.zxjbyte.yiyi.framework.common.domain.api.PageResult;
import com.zxjbyte.yiyi.framework.mybatis.service.BaseServiceX;
import com.zxjbyte.yiyi.module.system.domain.entity.DictDataPO;
import com.zxjbyte.yiyi.module.system.domain.request.dict.DictDataPageRequest;
import com.zxjbyte.yiyi.module.system.domain.response.dict.DictDataDetailResponse;
import com.zxjbyte.yiyi.module.system.domain.response.dict.DictDataPageResponse;

import java.util.List;

/**
 * @Author zhangxingjia
 * @Date 2024/1/24 16:17
 * @Version: 1.0
 */
public interface IDictDataService extends BaseServiceX<DictDataPO> {

    PageResult<DictDataPageResponse> page(DictDataPageRequest request);

    DictDataDetailResponse detail(Long id);

    List<DictDataPO> getByDictType(String dictType);

}
